search for: devp

Displaying 20 results from an estimated 130 matches for "devp".

Did you mean: dev
2008 Jul 01
1
Autoconf / Windows package building problem for device package
...has a configure script It probably needs manual configuration ********************************************** adding build stamp to DESCRIPTION installing NAMESPACE file and metadata making DLL ... gcc -std=gnu99 -Ic:/R/R-2.7.0/include -Iinclude -DHAVE_CONFIG_H -O3 -Wall -c devPS.c -o devPS.o devPS.c:26:20: error: config.h: No such file or directory In file included from devPS.c:29: include/Defn.h:1022: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Rf_onsigusr1' include/Defn.h:1023: error: expected '=...
2018 Jan 15
0
Rsync 3.1.3pre1 released
...fier "minor" is undefined write_int(f, minor(rdev)); ^ "/home/git/rsync/flist.c", line 605: error(114): identifier "minor" is undefined rdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp)); ^ "/home/git/rsync/flist.c", line 770: error(114): identifier "makedev" is undefined rdev = MAKEDEV(rdev_major, rdev_minor); ^ "/home/git/rsync/flist.c", l...
2018 Jan 15
1
[Bug 13224] New: New file handling causes compile issues for NonStop port.
...fier "minor" is undefined write_int(f, minor(rdev)); ^ "/home/git/rsync/flist.c", line 605: error(114): identifier "minor" is undefined rdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp)); ^ "/home/git/rsync/flist.c", line 770: error(114): identifier "makedev" is undefined rdev = MAKEDEV(rdev_major, rdev_minor); ^ "/home/git/rsync/flist.c", l...
2010 Jul 02
0
PDFfontNumber bugs in devPS.c (Re: plain text in Chinese can not be set)
On 2010-7-1 15:24, Jinsong Zhao wrote: > > Read the source again more carefully. I think I get the solution: > > Change the following line in PDFfontNumber function in devPS.c: > > num = 1000 + (cidfontIndex - 1)*5 + 1 + face; > to > num = 1000 + (cidfontIndex - 1)*5 + face; > > It appears two times in the function. > > However, I don't know how to compile the whole R distribution on Windows > platform. Would anyone here like to give a t...
2010 Jul 04
0
PDFfontNumber bugs in devPS.c (Re: plain text in Chinese can not be set)
...gnosis, and patch! I have implemented your fix in the development version of R. Paul Jinsong Zhao wrote: > On 2010-7-1 15:24, Jinsong Zhao wrote: >> Read the source again more carefully. I think I get the solution: >> >> Change the following line in PDFfontNumber function in devPS.c: >> >> num = 1000 + (cidfontIndex - 1)*5 + 1 + face; >> to >> num = 1000 + (cidfontIndex - 1)*5 + face; >> >> It appears two times in the function. >> >> However, I don't know how to compile the whole R distribution on Windows >> platform...
2010 Jan 16
1
"Too many raster images" in devPS.c
Hi, I am finding the recently added [1] functionality of embedding raster images into plots on R devices very useful! Thanks to Paul Murrell and others for providing that. I noted that in https://svn.r-project.org/R/trunk/src/library/grDevices/src/devPS.c a macro is defined: #define MAX_RASTERS 64, and consequently, I get Error in grid.Call.graphics("L_raster", x$raster, x$x, x$y, x$width, x$height, : Too many raster images even for relatively innocent graphics, such as extensions of [2] (which I made with Bioconductor's &qu...
2008 May 23
0
rgb to cmyk conversion is wrong in src/library/grDevices/src/devPS.c (PR#11509)
The conversion of RGB to CMYK takes place in PostScriptSetCol() starting at line 2900 of R-2.7.0/src/library/grDevices/src/devPS.c if(strcmp(mm, "cmyk") == 0) { double c = 1.0-r, m=1.0-g, y=1.0-b, k=c; k = fmin2(k, m); k = fmin2(k, y); if(k == 1.0) c = m = y = 0.0; else {c /= (1.-k); m /= (1.-k); y /= (1.-k);} r, g, and b have already been normalized to the range [0,1] before the functi...
2000 Jun 09
1
Postscript device ignores title if it is too long. (PR#565)
...par(mfrow=c(2,3)) for example). Perhaps the postscript driver could give a warning if the title is too long to be printed? Also, I found a small typo in R-1.0.1/src/library/base/man/postscript.Rd - on line 48: %%>>> REAL DOC in SOURCE: ../../../main/devices.c & ../../../unix/devPS.c the pathname to devPS.c should be: ../../../main/devPS.c Cheers, Stephen > version _ platform alpha-dec-osf4.0 arch alpha os osf4.0 system alpha, osf4.0 status major 1 minor 0.1...
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You
2018 Jan 15
4
Rsync 3.1.3pre1 released
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src-previews/rsync-3.1.3pre1-NEWS You
2001 Apr 14
1
Postscript font bugs (and a suggestion) (PR#914)
...s code crashes R (it asks for a font that isn't there): postscript() plot(0:1,0:1) text(0.5,0.5,'crash',font=6) The bug appears to be in the FixupFont routine in plot.c; on line 236, it checks that the font number is in the range 1..32. Later this crashes PostScriptStringWidth in devPS.c, because only fonts numbered 1..5 are actually defined. I don't know how to fix it. 2. The ?postscript help topic refers to .ps.profile; the actual variable name is .ps.prolog. The C source in main/devPS.c has this on lines 606-608, with the incorrect name in the error message: pro...
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...#39;file'") .External(XFig, file, paper, family, bg, fg, width, height, horizontal, pointsize, - onefile, pagecentre, encoding) + onefile, pagecentre, defaultfont, textspecial, encoding) invisible() } Index: src/library/grDevices/src/devPS.c =================================================================== --- src/library/grDevices/src/devPS.c (revision 47637) +++ src/library/grDevices/src/devPS.c (working copy) @@ -4354,6 +4354,9 @@ int ymax; /* used to invert coord system */ char encoding[50]; /* for wri...
2006 Nov 15
0
segfault in AIX
...dir ../../../library/grDevices/afm mkdir ../../../library/grDevices/enc mkdir ../../../library/grDevices/man making chull.d from /scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/chull.c making devNull.d from /scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devNull.c making devPicTeX.d from /scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devPicTeX.c making devPS.d from /scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devPS.c making devQuartz.d from /scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devQuartz.c making init.d from /scra...
2004 Sep 13
1
bitmap() doesn't finish with file in Windows (PR#7224)
..."r") The problem is that when bitmap uses ghostscript to convert the PS file to a PNG, the postscript drive doesn't wait for ghostscript to finish (under Windows). In the Linux version, the postscript driver does wait for the printing command to finish. Compare the following lines of devPS.c that actually call the "cmd": #ifdef Unix err = R_system(buff); #endif #ifdef Win32 err = runcmd(buff, 0, 0, NULL); #endif RECOMMENDATION: Change runcmd(buff, 0, 0, NULL) to runcmd(buff, 1, 0, NULL) in devPS.c to make the driver wait for the command to finish.
2000 Feb 07
4
Segmentation fault, devPS.c, 0.99.0 (PR#413)
...ep\n", ap=0xbfffde18) at vfprintf.c:1024 1024 vfprintf.c: No such file or directory. #1 0x40225f47 in fprintf (stream=0x726b2e78, format=0x811ad81 "ep\n") at fprintf.c:32 32 fprintf.c: No such file or directory. (gdb) up #2 0x806ca78 in PostScriptEndPage (fp=0x726b2e78) at devPS.c:513 513 fprintf(fp, "ep\n"); (gdb) up #3 0x806d953 in PS_NewPage (dd=0x81df2d0) at devPS.c:1015 1015 if(pd->pageno > 1) PostScriptEndPage(pd->psfp); (gdb) up #4 0x8087c75 in Rf_GNewPlot (recording=1, ask=-2147483648) at graphics.c:1781 1781 dd->dp.newPage(dd)...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...ne = 910 An enumerated type is mixed with another type. con->blocking = block; ^ ------------------------------------------------------------------------ c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c devPS.c -o devPS.o cc-1185 c89: WARNING File = devPS.c, Line = 978 An enumerated type is mixed with another type. dd->dp.canResizePlot = 0; ^ cc-1185 c89: WARNING File = devPS.c, Line = 979 An enumerated type is mixed with another type. dd->dp.canChang...
2009 Feb 13
2
Identifying graphics files produced by R
Oftentimes, I see graphs on the web that *look* like they've been produced by R, but I can never be sure. Or can I? I notice that PostScript files include a "%%%Creator: R Software" line, but do R graphics drivers encode any identifying information in GIF or PNG files more commonly used on the web? And of so, would such evidence necessarily be obliterated in post-processing (e.g
2008 May 08
1
Patch to not modify files in place unless "--inplace" option specified
...? remove_source_files + : remove_source_files == 1) goto return_with_success; } #endif @@ -1592,6 +1605,7 @@ if ((am_root && preserve_devices && IS_DEVICE(file->mode)) || (preserve_specials && IS_SPECIAL(file->mode))) { + int iflags = 0; uint32 *devp = F_RDEV_P(file); dev_t rdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp)); if (statret == 0) { @@ -1609,7 +1623,15 @@ && BITS_EQUAL(sx.st.st_mode, file->mode, _S_IFMT) && sx.st.st_rdev == rdev) { /* The device or special file is identical. */ - set_file_att...
2000 Jul 01
0
margins with postscript device
...ns from 1/4" on all sides to 1/2" on the bottom (left if horizontal==T) and 1/8" on the top (or right). I've also made a quick hack for the postscript device that adjust the margins appropriately. Maybe other users of inkjet printers who use postscript will find it useful. --- devPS.c Tue May 2 06:18:35 2000 +++ /eolian1/R-1.1.0/src/main/devPS.c Thu Jun 29 16:08:13 2000 @@ -909,6 +909,13 @@ } else { xoff = yoff = 0.0; } + /* HACK for DeskJet printers with 1/2" bottom margin and 1/8" top */ + if(pd->landscape) { + pd->width...
2005 Jul 16
1
xfig device - depth
Hi, I hope this is the right list for my posting, since I've never posted to any R list before. I'm quite extensively using the xfig graphics device and as far as I figured out this device writes all the objects into xfig layer 100 (based on what I saw in the devPS.c file -if this is the file to output to xfig format - depth 100 is hardcoded). Are the any plans to implement xfig layer depth control in the xfig graphics device or am I just missing something. Thanks a lot in advance Thomas Zanon -- ************************************************* Thomas Z...