Displaying 1 result from an estimated 1 matches for "fekete198601".
Did you mean:
fekete_198601
2009 Mar 27
2
Assignment to variables fails to loop
...riable parts. I have got the code running without encountering errors, however, I receive 50+ of the same warnings:
1: In assign(paste("Fekete_", index$year, index$month, sep = ""), ... :
only the first element is used as variable name
And it's true, when I do ls() only Fekete198601 has been assigned. I've attempted to rectify this, but have only come up against further errors.
The code as it stands, is as follows:
# READ IN FILES FROM DISK
# File names have two variable parts: creating a 'file index' is a two-step process
index <- expand.grid(year = sprint...