Verify the size of a file called     input.txt     for a file in the current working directory, and another one in the file system root.




sizeinwd <- file.info('input.txt')[["size"]]
sizeinroot <- file.info('/input.txt')[["size"]]