[R] Saving workspace data

John Kane jrkrideau at yahoo.ca
Fri Jul 13 19:22:35 CEST 2007


--- Renger van Nieuwkoop <renger at ecoplan.ch> wrote:

> Hi
> 
> I imported a lot of text-files with R and saved them
> by using:
>     save(list=ls(),file="Grunddaten.Rdata")
> 
> After that I wanted to check my saved data and wrote
>     source("Grunddaten.Rdata")
> 
> This gives me an error:
> 	Error in parse(file, n = -1, NULL, "?") : Syntax
> error at 1: 
> 
> Can somebody tell me what I am doing wrong (I am
> using R.2.4.1)?
> 
> Renger

source is to load a script or programme.  Try load()



More information about the R-help mailing list