search for: inpath

Displaying 3 results from an estimated 3 matches for "inpath".

Did you mean: npath
2007 Dec 27
0
SAS to R - if you have SAS 8.2+
...ong variable names. All you need to provide is the folder where the SAS data file is and the data file name without the extension. The function requires the rcom package. This is meant to be first cut...but improvements and suggestions are more than welcome! Gyula import.sas.data <- function(inPath,inSAS,as.is=FALSE){ # Function to read in a SAS data file # Packages needed: rcom # inPath: path to SAS file # inSAS: SAS data file name (no extension) # as.is: as per read.csv (FALSE - force all character variables to be factors) # outputs a data.frame object # Created: December 1, 2007 #...
2010 May 26
3
error "variable names are limited to 256 bytes" when sourcing code
I've written a function that takes some input data output from a simulation model and creates some graphs. It's not very complicated code, and it works perfectly fine if I just run the code as is. But I have converted it into a function so we call it externally, and when I try to source the code to test the function, I get the error message "variable names are limited to 256
2009 Apr 02
0
FLAC: joining source files
...gt;&1); die "[FATAL] no info from file: $k" if $nfo!~/duration[^=]*=\s*(\d+) samples/mi; $z+= $1; push @spt,$z; push @tr,$k; } return; } #-- MAIN my( $discid,$discid0,$fgen,$nbsamples,$nfo,$seekpts,$t1,$t2 ); usage() if $#ARGV<0 or $ARGV[0]!~/^[0-9a-f]{8}$/; #yy or not(inpath 'sox') $discid0= $ARGV[0]; $fgen='out_'; if ($#ARGV>0 and $ARGV[1]!~/^[0-9a-f]{8}$/) { ($discid,$t1,$t2)= @ARGV; usage() unless $#ARGV==2 and $t1.$t2=~/^\d+$/ and $t1<$t2; $fgen.= "${discid}_${a}_${b}"; addtracks($discid,$t1,$t2); } else { undef $t1; while ($d...